package com.caine.ts.entity;

import android.app.Activity;
import android.widget.Toast;

public  class UtilsActivity extends Activity {

	
	public  void show(String msg){
		Toast.makeText(getBaseContext(), msg, Toast.LENGTH_SHORT).show();
	}
	
	public void show(String msg , boolean flags){
		if(flags){
		Toast.makeText(getBaseContext(), msg, Toast.LENGTH_LONG).show();
		}else{
			show(msg);
		}
	}
	public void show(String msg , int longs){
		Toast.makeText(getBaseContext(), msg, longs).show();
	}
}
